#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import os
# import PIL.Image as img
from skimage import io



# Image和skimage读图片
# img_file1 = img.open('./3D.png')
img_file2 = io.imread('./3D.png')

# print("the image's size : ", img_file1.size)
print("the image's shape : ", img_file2.shape)

# # iteration list:
#
#
# def findMinAndMax(*l):
#     if l is None:
#         return (None,None)
#     else:
#         minVal = 999999
#         maxVal = 0
#         for i in l:
#             if i < minVal:
#                 minVal = i
#             if i > maxVal:
#                 maxVal = i
#         return (minVal,maxVal)
#
#
# L1 = [1, 12, 5, 36, 87, 52, 9, 68]
# print(findMinAndMax(*L1))

